FROM  nginx:1.21.1

MAINTAINER tony <wuyong@winning.com.cn>



COPY ./dist  /usr/share/nginx/dist
COPY ./nginx.conf  /etc/nginx/nginx.conf
USER root
RUN chown -R nginx.nginx /usr/share/nginx/dist
EXPOSE 80
